package com.library.books.domain.wsdata;

import com.library.common.wspoint.WsDataInterface;
import lombok.Data;
import lombok.Setter;

import java.math.BigDecimal;
import java.util.List;

/**
 * @Package: com.library.books.domain.wsdata
 * @ClassName: BookOnReturn
 * @Author: Yin
 * @Date: 16:49
 * @Description: 书籍归还数据
 */
public class BookOnReturn implements WsDataInterface {

    @Setter
    private List<BookOnReturnMessage> list;

    @Override
    public String getType() {
        return "BookReturn";
    }

    @Override
    public List<BookOnReturnMessage> getData() {
        return list;
    }

    @Data
    public static class BookOnReturnMessage {

        /** 书籍名 */
        private String booksName;

        /** 索书号-小分类 */
        private String booksCopyLicense;

        /** 借阅收取逾期滞纳金 */
        private BigDecimal borrowTakeTarryFine;

        /** 操作平台 */
        private String operateTerrace;

    }
}
